package com.ruoyi.db.domain.system;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 【商城用户】对象 mp_client
 * 
 * @author ruoyi
 * @date 2022-07-22
 */
@ApiModel(value = "MpClient",description = "【商城用户】对象 mp_client")
public class MpClient extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商城用户主键 */
    private Long clientId;

    /** 用户手机号 */
    @ApiModelProperty(value="用户手机号",name="MpClient$mobile")
    @Excel(name = "用户手机号")
    private String mobile;

    /** 用户密码 */
    @ApiModelProperty(value="用户密码",name="MpClient$password")
    @Excel(name = "用户密码")
    private String password;

    /** 用户头像 */
    @ApiModelProperty(value="用户头像",name="MpClient$avatar")
    @Excel(name = "用户头像")
    private String avatar;

    /** 用户名称 */
    @ApiModelProperty(value="用户名称",name="MpClient$name")
    @Excel(name = "用户名称")
    private String name;

    /** 交易密码 */
    @ApiModelProperty(value="交易密码",name="MpClient$payPassword")
    @Excel(name = "交易密码")
    private String payPassword;

    /** 注册时间 */
    @ApiModelProperty(value="注册时间",name="MpClient$registTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date registTime;

    /** 金藻余额 */
    @ApiModelProperty(value="金藻余额",name="MpClient$goldBeanBalance")
    @Excel(name = "金藻余额")
    private BigDecimal goldBeanBalance;

    /** 银藻余额 */
    @ApiModelProperty(value="银藻余额",name="MpClient$silverBeanBalance")
    @Excel(name = "银藻余额")
    private BigDecimal silverBeanBalance;

    /** 身份证号 */
    @ApiModelProperty(value="身份证号",name="MpClient$idNumber")
    @Excel(name = "身份证号")
    private String idNumber;

    /** 银行卡号 */
    @ApiModelProperty(value="银行卡号",name="MpClient$bankNumber")
    @Excel(name = "银行卡号")
    private String bankNumber;

    /** 店铺等级 */
    @ApiModelProperty(value="店铺等级",name="MpClient$storeLevel")
    @Excel(name = "店铺等级")
    private String storeLevel;

    /** 帐号状态（0正常 1停用） */
    @ApiModelProperty(value="帐号状态",name="MpClient$status")
    @Excel(name = "帐号状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 银行名称 */
    @ApiModelProperty(value="银行名称",name="MpClient$bankName")
    @Excel(name = "银行名称")
    private String bankName;

    /** 银行开户名 */
    @ApiModelProperty(value="银行开户名",name="MpClient$bankAccountName")
    @Excel(name = "银行开户名")
    private String bankAccountName;

    /** 银行开户地址 */
    @ApiModelProperty(value="银行开户地址",name="MpClient$bankAddress")
    @Excel(name = "银行开户地址")
    private String bankAddress;

    /** 单日金藻转账限额 */
    @ApiModelProperty(value="单日金藻转账限额",name="MpClient$goldTransferLimit")
    @Excel(name = "单日金藻转账限额")
    private BigDecimal goldTransferLimit;

    /** 单日银藻转账限额 */
    @ApiModelProperty(value="单日银藻转账限额",name="MpClient$silverTransferLimit")
    @Excel(name = "单日银藻转账限额")
    private BigDecimal silverTransferLimit;

    /** 银联账号 */
    @ApiModelProperty(value="银联账号",name="MpClient$unionpayNumber")
    @Excel(name = "银联账号")
    private String unionpayNumber;


    /** 个人业绩 */
    @ApiModelProperty(value="个人业绩",name="MpClient$myEarns")
    @Excel(name = "个人业绩")
    private String myEarns;

    /** 店铺ID主键 */
    @ApiModelProperty(value="店铺ID",name="MpClient$teamConfigId")
    @Excel(name = "店铺ID")
    private Long teamConfigId;

    /** 邀请码 */
    @ApiModelProperty(value="邀请码",name="MpClient$inviteCode")
    @Excel(name = "邀请码")
    private String inviteCode;

    /** 团队业绩 */
    @ApiModelProperty(value="团队业绩",name="MpClient$teamEarns")
    @Excel(name = "团队业绩")
    private BigDecimal teamEarns;

    /** 团队业绩 */
    @ApiModelProperty(value="邀请码",name="MpClient$inviteUrl")
    @Excel(name = "邀请码")
    private String inviteUrl;

    /** 是否是虚拟号 */
    @ApiModelProperty(value="是否是虚拟号",name="MpClient$inviteUrl")
    @Excel(name = "是否是虚拟号")
    private  Integer isVirtual;
    private String openId;

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    private Integer type;
    private String teamLevel;
    private String inviteName;
    private Long  userId;
    private String startTime;
    private String inviteMobile;
    private String remark;

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getInviteMobile() {
        return inviteMobile;
    }

    public void setInviteMobile(String inviteMobile) {
        this.inviteMobile = inviteMobile;
    }

    public Integer getIsInstitutions() {
        return isInstitutions;
    }

    public void setIsInstitutions(Integer isInstitutions) {
        this.isInstitutions = isInstitutions;
    }

    private Integer isInstitutions;
    private Integer isCert;

    public Integer getIsCert() {
        return isCert;
    }

    public void setIsCert(Integer isCert) {
        this.isCert = isCert;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCounty() {
        return county;
    }

    public void setCounty(String county) {
        this.county = county;
    }

    private String province;
    private String city;
    private String county;

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    private String endTime;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getInviteName() {
        return inviteName;
    }

    public void setInviteName(String inviteName) {
        this.inviteName = inviteName;
    }

    public String getTeamLevel() {
        return teamLevel;
    }

    public void setTeamLevel(String teamLevel) {
        this.teamLevel = teamLevel;
    }

    public BigDecimal getAddAmount() {
        return addAmount;
    }

    public void setAddAmount(BigDecimal addAmount) {
        this.addAmount = addAmount;
    }

    public Integer getAddType() {
        return addType;
    }

    public void setAddType(Integer addType) {
        this.addType = addType;
    }

    private BigDecimal addAmount;
    private Integer addType;
    private String lastMobile;

    public String getLastMobile() {
        return lastMobile;
    }

    public void setLastMobile(String lastMobile) {
        this.lastMobile = lastMobile;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getIsVirtual() {
        return isVirtual;
    }

    public void setIsVirtual(Integer isVirtual) {
        this.isVirtual = isVirtual;
    }

    public String getInviteUrl() {
        return inviteUrl;
    }

    public void setInviteUrl(String inviteUrl) {
        this.inviteUrl = inviteUrl;
    }

    public BigDecimal getEarnsMyFriend() {
        return earnsMyFriend;
    }

    public void setEarnsMyFriend(BigDecimal earnsMyFriend) {
        this.earnsMyFriend = earnsMyFriend;
    }

    private BigDecimal earnsMyFriend;

    public BigDecimal getTeamEarns() {
        return teamEarns;
    }

    public void setTeamEarns(BigDecimal teamEarns) {
        this.teamEarns = teamEarns;
    }

    public String getInviteCode() {
        return inviteCode;
    }

    public void setInviteCode(String inviteCode) {
        this.inviteCode = inviteCode;
    }


    public Long getTeamConfigId() {
        return teamConfigId;
    }

    public void setTeamConfigId(Long teamConfigId) {
        this.teamConfigId = teamConfigId;
    }

    public String getMyEarns() {
        return myEarns;
    }

    public void setMyEarns(String myEarns) {
        this.myEarns = myEarns;
    }

    public void setClientId(Long clientId) 
    {
        this.clientId = clientId;
    }

    public Long getClientId() 
    {
        return clientId;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setAvatar(String avatar) 
    {
        this.avatar = avatar;
    }

    public String getAvatar() 
    {
        return avatar;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPayPassword(String payPassword) 
    {
        this.payPassword = payPassword;
    }

    public String getPayPassword() 
    {
        return payPassword;
    }
    public void setRegistTime(Date registTime) 
    {
        this.registTime = registTime;
    }

    public Date getRegistTime() 
    {
        return registTime;
    }
    public void setGoldBeanBalance(BigDecimal goldBeanBalance) 
    {
        this.goldBeanBalance = goldBeanBalance;
    }

    public BigDecimal getGoldBeanBalance() 
    {
        return goldBeanBalance;
    }
    public void setSilverBeanBalance(BigDecimal silverBeanBalance) 
    {
        this.silverBeanBalance = silverBeanBalance;
    }

    public BigDecimal getSilverBeanBalance() 
    {
        return silverBeanBalance;
    }
    public void setIdNumber(String idNumber) 
    {
        this.idNumber = idNumber;
    }

    public String getIdNumber() 
    {
        return idNumber;
    }
    public void setBankNumber(String bankNumber) 
    {
        this.bankNumber = bankNumber;
    }

    public String getBankNumber() 
    {
        return bankNumber;
    }
    public void setStoreLevel(String storeLevel)
    {
        this.storeLevel = storeLevel;
    }

    public String getStoreLevel()
    {
        return storeLevel;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setBankName(String bankName) 
    {
        this.bankName = bankName;
    }

    public String getBankName() 
    {
        return bankName;
    }
    public void setBankAccountName(String bankAccountName) 
    {
        this.bankAccountName = bankAccountName;
    }

    public String getBankAccountName() 
    {
        return bankAccountName;
    }
    public void setBankAddress(String bankAddress) 
    {
        this.bankAddress = bankAddress;
    }

    public String getBankAddress() 
    {
        return bankAddress;
    }
    public void setGoldTransferLimit(BigDecimal goldTransferLimit) 
    {
        this.goldTransferLimit = goldTransferLimit;
    }

    public BigDecimal getGoldTransferLimit() 
    {
        return goldTransferLimit;
    }
    public void setSilverTransferLimit(BigDecimal silverTransferLimit) 
    {
        this.silverTransferLimit = silverTransferLimit;
    }

    public BigDecimal getSilverTransferLimit() 
    {
        return silverTransferLimit;
    }
    public void setUnionpayNumber(String unionpayNumber) 
    {
        this.unionpayNumber = unionpayNumber;
    }

    public String getUnionpayNumber() 
    {
        return unionpayNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("clientId", getClientId())
            .append("mobile", getMobile())
            .append("password", getPassword())
            .append("avatar", getAvatar())
            .append("name", getName())
            .append("payPassword", getPayPassword())
            .append("registTime", getRegistTime())
            .append("goldBeanBalance", getGoldBeanBalance())
            .append("silverBeanBalance", getSilverBeanBalance())
            .append("idNumber", getIdNumber())
            .append("bankNumber", getBankNumber())
            .append("storeLevel", getStoreLevel())
            .append("status", getStatus())
            .append("bankName", getBankName())
            .append("bankAccountName", getBankAccountName())
            .append("bankAddress", getBankAddress())
            .append("goldTransferLimit", getGoldTransferLimit())
            .append("silverTransferLimit", getSilverTransferLimit())
            .append("unionpayNumber", getUnionpayNumber())
            .toString();
    }
}
